package com.tyut.homework.service;

import com.tyut.homework.pojo.Student;
import org.springframework.data.domain.Page;

import java.util.List;

public interface StudentService extends ServiceTemplate<Student>{

    @Override
    Student save(Student student);

    @Override
    int delete(Integer id);

    @Override
    int update(Student student);

    @Override
    Student find(Integer id);

    @Override
    Page<Student> getPage(Integer pageNum, Integer pageLimit);

    void deleteInbatch(String [] ids);

    List<Student> findByLike(Integer type, String content);

    int updateStatus(Integer id);
    // 获取未分配学生列表
    List<Student> getListNotMatch();

    Student findInfoByClazz(String clazz);
}
